package com.siriframe.user.service;

import com.siriframe.entity.PageResponse;
import com.siriframe.user.entity.dto.UserDto;
import com.siriframe.user.entity.po.User;

import java.util.Map;

public interface UserService {

    User queryById(Long id);

    int insert(User user);

    int update(User user);

    boolean deleteById(Long id);

    Long queryCount(Map<String, Object> conditions);

    PageResponse<User> queryByPage(UserDto userDto);
}
